package com.bed.lovewithpatientbed.service;

import com.bed.lovewithpatientbed.pojo.BedPut;
import com.bed.lovewithpatientbed.pojo.BedPutExample;
import com.bed.lovewithpatientbed.pojo.Dept;
import com.bed.lovewithpatientbed.pojo.DeptManager;

import java.util.List;

/**
 * @author yg
 * @version 1.0.0
 * @ClassName HospitalService.java
 * @Description TODO
 */
public interface DeptService {

    List<Dept> getAll();

    Dept selectById(Integer did);

    int addDept(Dept dept);

    int delDept(Dept dept);

    int delbatchDept(Dept[] depts);

    int updateDept(Dept dept);

    long countRow();

    long countbed(BedPut bedPut);

    /**
     * @title getDeptIds
     * @description 根据科室名称获取科室id
     * @author sunningsheng
     * @updateTime
     * @throws
     */
    List<Integer> getDeptIds(String deptName);

    /**
         * @title 根据医院id科室id找科室负责人
         * @description
         * @author yg
         * @updateTime
         * @throws
         */

    DeptManager selectByDeptIdHospitalId(Integer deptid,Integer hospitalid);
}
